/*
 * @Author: your name
 * @Date: 2021-12-09 02:07:16
 * @LastEditTime: 2022-01-04 03:28:50
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /ac_interface/src/router/index.js
 */
import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Login',
    component: () => import(/* webpackChunkName: "about" */ '../views/Login.vue'),
  },
  {
    path: '/Terminal',
    name: 'Terminal',
    component: () => import(/* webpackChunkName: "about" */ '../views/Terminal.vue'),
  },
  {
    path: '/Admin',
    name: 'Admin',
    component: () => import(/* webpackChunkName: "about" */ '../views/Admin.vue'),
  },
  {
    path: '/xterm_test',
    name: 'xterm_test',
    component: () => import('../views/testTerm.vue'),
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
